package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;

@Table(name = "DOCKER_SERVER_WARN")
//@CacheProvider(groupId="groupId2", level=CacheLevel.THREADLOCAL, readOnly=false)
public class DockerServerWarn extends BaseEntity<Long> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6780818740201403832L;

	@Id
	@Column(name = "ID")
	private Long id;

	/**
	 * 告警内容
	 */
	@Column(name = "CONTENT")
	private String content;

	/**
	 * 告警级别
	 */
	@Column(name = "LEVEL")
	private String level;

	/**
	 * 告警状态
	 */
	@Column(name = "STATE")
	private String state;

	/**
	 * 告警时间
	 */
	@Column(name = "WARN_TIME")
	private String warnTime;
	
	/**
	 * 备注
	 */
	@Column(name = "BZ")
	private String bz;

	/**
	 * 租户编码
	 */
	@Column(name = "TENANT_CODE")
	private String tenantCode;
	
	@Column(name="CREATE_USER_ID")
	private Long createUserId;
	
	@Column(name="CREATE_TIME")
	private String createTime;
	
	@Column(name="LAST_UPDATE_USER_ID")
	private Long lastUpdateUserId;
	
	@Column(name="LAST_UPDATE_TIME")
	private String lastUpdateTime;
	
	@Override
	public Long getId() {
		return id;
	}

	@Override
	public void setId(Long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getWarnTime() {
		return warnTime;
	}

	public void setWarnTime(String warnTime) {
		this.warnTime = warnTime;
	}

	

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getLastUpdateUserId() {
		return lastUpdateUserId;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId) {
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public String getTenantCode() {
		return tenantCode;
	}

	public void setTenantCode(String tenantCode) {
		this.tenantCode = tenantCode;
	}

}
